The long type date format is independent of the time representation in different time zones and because it is a primitive type, it is more efficient than other kinds of java objects. long类型的日期格式与不同时区的时间表示形式无关,并且因为它是基元类型,所以比其他类型的Java对象更有效。
To do this, type a long input line that first contains a date statement to output the time and date in the desired format ( usually hours and minutes suffice). 要完成这项工作,可以输入一行以date语句开头的长输入行,以便按照需要的格式(通常,小时和分钟就足够了)输出时间和日期。
Display a date using the long date format specified in your computer's regional settings. 使用计算机的区域设置中指定的长日期格式来显示日期。
Use long date format whenever possible. 要尽量使用长日期格式。